[INFO] cloning repository https://github.com/math-dev-24/rpg-practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/math-dev-24/rpg-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmath-dev-24%2Frpg-practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmath-dev-24%2Frpg-practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3367906ed374cfd43785db58221db82e65bd1512
[INFO] checking math-dev-24/rpg-practice against master#c290daa1e5274a52e54a0f49e31bd70192abc606 for pr-133502-23
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmath-dev-24%2Frpg-practice" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/math-dev-24/rpg-practice
[INFO] finished tweaking git repo https://github.com/math-dev-24/rpg-practice
[INFO] tweaked toml for git repo https://github.com/math-dev-24/rpg-practice written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/math-dev-24/rpg-practice on toolchain c290daa1e5274a52e54a0f49e31bd70192abc606
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/math-dev-24/rpg-practice already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 346877a415142539b72d11aede1e571aeb5c530ae11791bfbb65ad6d10d016d1
[INFO] running `Command { std: "docker" "start" "346877a415142539b72d11aede1e571aeb5c530ae11791bfbb65ad6d10d016d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "346877a415142539b72d11aede1e571aeb5c530ae11791bfbb65ad6d10d016d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "346877a415142539b72d11aede1e571aeb5c530ae11791bfbb65ad6d10d016d1" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "346877a415142539b72d11aede1e571aeb5c530ae11791bfbb65ad6d10d016d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "346877a415142539b72d11aede1e571aeb5c530ae11791bfbb65ad6d10d016d1" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> src/RPG/skill/skill.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         target: &mut PlayerCharacter,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/RPG/ai.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         player: &PlayerCharacter,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/RPG/game.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Victory(Game<Victory>),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 42 -     Victory(Game<Victory>),
[INFO] [stdout] 42 +     Victory(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/RPG/game.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     Defeat(Game<Defeat>),
[INFO] [stdout]    |     ------ ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 43 -     Defeat(Game<Defeat>),
[INFO] [stdout] 43 +     Defeat(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_name` is never used
[INFO] [stdout]    --> src/RPG/class/base.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl PlayerCharacter {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn get_name(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_hp` and `with_mana` are never used
[INFO] [stdout]   --> src/RPG/class/character.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<C: Class> Character<C> {
[INFO] [stdout]    | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn with_hp(mut self, hp: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn with_mana(mut self, mana: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `damage` is never used
[INFO] [stdout]   --> src/RPG/skill/available.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl AvailableSkill {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn damage(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_alive`, `take_damage`, and `sub` are never used
[INFO] [stdout]   --> src/RPG/types/hp.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Hp {
[INFO] [stdout]    | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn is_alive(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn take_damage(self, damage: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn sub(self, rhs: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `can_afford` and `spend` are never used
[INFO] [stdout]   --> src/RPG/types/mana.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Mana {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn can_afford(&self, cost: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn spend(self, amount: i32) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidSkill` is never constructed
[INFO] [stdout]   --> src/RPG/error.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum GameError {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     InvalidSkill(AvailableSkill),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicAI` is never constructed
[INFO] [stdout]   --> src/RPG/ai.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct BasicAI;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `RPG` should have a snake case name
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod RPG;
[INFO] [stdout]   |     ^^^ help: convert the identifier to snake case: `rpg`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> src/RPG/skill/skill.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         target: &mut PlayerCharacter,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/RPG/ai.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         player: &PlayerCharacter,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/RPG/game.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Victory(Game<Victory>),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 42 -     Victory(Game<Victory>),
[INFO] [stdout] 42 +     Victory(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/RPG/game.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     Defeat(Game<Defeat>),
[INFO] [stdout]    |     ------ ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 43 -     Defeat(Game<Defeat>),
[INFO] [stdout] 43 +     Defeat(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_name` is never used
[INFO] [stdout]    --> src/RPG/class/base.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl PlayerCharacter {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn get_name(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `damage` is never used
[INFO] [stdout]   --> src/RPG/skill/available.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl AvailableSkill {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn damage(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `take_damage` is never used
[INFO] [stdout]   --> src/RPG/types/hp.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Hp {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn take_damage(self, damage: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `can_afford` and `spend` are never used
[INFO] [stdout]   --> src/RPG/types/mana.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl Mana {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn can_afford(&self, cost: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn spend(self, amount: i32) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidSkill` is never constructed
[INFO] [stdout]   --> src/RPG/error.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum GameError {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     InvalidSkill(AvailableSkill),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `RPG` should have a snake case name
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod RPG;
[INFO] [stdout]   |     ^^^ help: convert the identifier to snake case: `rpg`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.99s
[INFO] running `Command { std: "docker" "inspect" "346877a415142539b72d11aede1e571aeb5c530ae11791bfbb65ad6d10d016d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "346877a415142539b72d11aede1e571aeb5c530ae11791bfbb65ad6d10d016d1", kill_on_drop: false }`
[INFO] [stdout] 346877a415142539b72d11aede1e571aeb5c530ae11791bfbb65ad6d10d016d1
